#pragma once
#include "Body.h"

class  CSnakeSView;
class  Food;
class Snake
{
public:
	Snake(CSnakeSView* pView1);
	~Snake(void);
	Body*  head;
	CSnakeSView* pView;

	Body* getHead(){return head;}
	void DrawSnake(CDC *pDC);

	void move(int direct,Food* food);

	int isGameOver(void);
	int x;
	int y;


};

